//
//  StellWightOrLineViewController.m
//  GLGW_Shoping
//
//  Created by yang on 2018/11/22.
//  Copyright © 2018年 yang. All rights reserved.
//

#import "StellWightOrLineViewController.h"
#import "StellWeightOrLineViewModel.h"

@interface StellWightOrLineViewController ()
@property (nonatomic,strong) StellWeightOrLineViewModel * weightViewModel;
@end

@implementation StellWightOrLineViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.weightViewModel = [[StellWeightOrLineViewModel alloc] initWithViewToViewModel:self.tableView theSuperView:self.view];
    self.weightViewModel.cai_type = _c_type;
    self.weightViewModel.model_rowIndex = _row_Type;
}
#pragma mark -- set
-(void)setC_type:(CaiculatorType)c_type{
    _c_type = c_type;
}

-(void)setRow_Type:(NSInteger)row_Type{
    _row_Type = row_Type;
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
